<template>
  <div>
    <MyHead :height="height"></MyHead>
    <Carousel v-if="$route.path !=='/search'"></Carousel>
    <router-view></router-view>
    <MyBottom></MyBottom>
  </div>
</template>

<script>
import MyHead from "@/components/MyHead"
import MyBottom from "@/components/MyBottom"
import Account from "@/components/Account"
import Backend from "@/components/Backend"
import {mapState} from "vuex";

export default {
  name: "Index",
  components: {
    MyHead,
    MyBottom,
    Account,
    Backend
  },
  computed: {
    ...mapState(['height'])
  }
}
</script>

<style scoped>

</style>